package com.itheima.service;

import com.itheima.pojo.Article;
import com.itheima.pojo.Book;
import com.itheima.pojo.PageBean;
import com.itheima.pojo.vo.BookVo;

public interface BookService {
    //条件分页列表查询
    PageBean<BookVo> list(Integer pageNum, Integer pageSize, Integer categoryId, Integer bookshelfId, String name);
    void addBook(Book book);
    void updateBook(Book book);
    void deleteBook(Integer id);
}
